

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol CPTipViewDelegate <NSObject>
-(void)btnClickedIndex:(int)index;
-(void)btnClickedTypeIndex:(int)index rightEvent:(NSString *)rightEvent leftEvent:(NSString *)leftEvent;
@end
@interface PUTipView : UIView
@property(nonatomic, assign) id<CPTipViewDelegate>delegate;
-(instancetype)initCPTipViewWithContent:(NSString*)content title:(NSString *)title confirmStr:(NSString*)confirmStr cancelStr:(NSString*)cancelStr buttonCount:(int)buttonCount;
-(instancetype)initCPTipViewWithContent:(NSString*)content title:(NSString *)title confirmStr:(NSString*)confirmStr cancelStr:(NSString*)cancelStr buttonCount:(int)buttonCount type:(int)type rightEvent:(NSString *)rightEvent leftEvent:(NSString *)leftEvent;
-(void)show;
@end

NS_ASSUME_NONNULL_END

